package com.sport.system.domain;

import com.sport.common.annotation.Excel;
import com.sport.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 运动会图片对象 sport_img
 *
 * @author wyd
 * @date 2022-04-18
 */
public class SportImg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private String id;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String img;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("img", getImg())
            .toString();
    }
}
